<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script>
			var birth=/^\d{4}-\d{1,2}-\d{1,2}$/;
			
			//. -
			//bangzhao.liu@qq.com
			//liubz-aptech@bdqn.cn
			var regemail=/^\w+@(\w+\.)+\w+$/;
			alert(regemail.test(window.prompt("请输入电子邮件")));
			
		</script>
	</head>
	<body>
	</body>
</html>
